projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9429dee
)
(ENCODE_SJIS_BIG5_CHARACTER): Encode charset
author
Kenichi Handa
<handa@m17n.org>
Tue, 8 Jun 1999 00:26:51 +0000
(
00:26
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 8 Jun 1999 00:26:51 +0000
(
00:26
+0000)
japanese-jisx0208-1978 correctly.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index ff684d567bc60c0a852438a86418d1b91c07c3a6..832958de49296bfe55debce2f89cc6ad2e67cd10 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-2166,7
+2166,8
@@
encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
else \
{ \
c1 &= 0x7F, c2 &= 0x7F; \
- if (sjis_p && charset_alt == charset_jisx0208) \
+ if (sjis_p && (charset_alt == charset_jisx0208 \
+ || charset_alt == charset_jisx0208_1978))\
{ \
unsigned char s1, s2; \
\